package com.sss.hloster0201;

public class JavaExercise001 {

	public static void main(String[] args) {
		Point p1 = new Point();
		p1.setX(2);
		p1.setY(4);
		System.out.println("p1移动后的坐标为：");
		p1.movePoint(1, 1);
		System.out.println("p2移动后的坐标为：");
		Point p2 = new Point(3, 4);
		p2.movePoint(1, 1);
		
	}

}
